package com.func.domain.activity.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <p>
 * ActivitySkuEntity
 * </p>
 *
 * @author Simon
 * @version 2025.03.11.1.0.0
 * @description ActivitySkuEntity 活动SKU实体
 * @since 2025-03-11
 */

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivitySkuEntity {
    /**
     * 商品sku - 把每一个组合当做一个商品
     */
    private Long sku;
    /**
     * 活动ID
     */
    private Long activityId;
    /**
     * 活动个人参与次数ID
     */
    private Long activityCountId;
    /**
     * 商品库存
     */
    private Integer stockCount;
    /**
     * 剩余库存
     */
    private Integer stockCountSurplus;
    // 商品金额
    private BigDecimal productAmount;
}
